package com.naiterui.ehp.bs.wechat.protocol.result;

import org.apache.commons.lang3.builder.ToStringBuilder;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 临时素材上传结果
 * @author zhoupeipei
 * @date 2019-07-05 16:33
 * @since 1.0.0
 */
//@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class TempMediaUpResult extends BaseResult{
    private static final long serialVersionUID = -8611597953577128413L;
    private String type;
    @JsonProperty("media_id")
    private String mediaId;
    @JsonProperty("created_at")
    private Long createdAt;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getMediaId() {
        return mediaId;
    }

    public void setMediaId(String mediaId) {
        this.mediaId = mediaId;
    }

    public Long getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Long createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
